<html>
<head><meta charset="utf-8"><title>servo&#x27;s plugin requirements · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/servo&#x27;s.20plugin.20requirements.html">servo&#x27;s plugin requirements</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="171696384"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/servo%27s%20plugin%20requirements/near/171696384" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/servo&#x27;s.20plugin.20requirements.html#171696384">(Jul 25 2019 at 14:30)</a>:</h4>
<blockquote>
<p>However, my understanding is that:</p>
<blockquote>
<p>Access to full type information. For example in let x = foo.bar(); the lint wants to find out whether the struct definition for the concrete type of x has one of the previously mentioned custom attributes, even if bar is a trait method that returns an associated type.</p>
</blockquote>
<p>is not realistic from a stability and forward compat POV and that this will largely mean that we forever support only servo on the plugin interface</p>
</blockquote>
<p>I thought there were ideas for solving it via <code>Pin</code> and some other language based magic instead of a custom lint?</p>



<a name="171707931"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/servo%27s%20plugin%20requirements/near/171707931" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/servo&#x27;s.20plugin.20requirements.html#171707931">(Jul 25 2019 at 17:02)</a>:</h4>
<p>maybe having that lint in clippy is more maintainable that having to maintain an entire plugin interface for it?^^</p>



<a name="171736471"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/servo%27s%20plugin%20requirements/near/171736471" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/servo&#x27;s.20plugin.20requirements.html#171736471">(Jul 25 2019 at 23:33)</a>:</h4>
<p>Its a very special kind of lint.</p>



<a name="171736473"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/servo%27s%20plugin%20requirements/near/171736473" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/servo&#x27;s.20plugin.20requirements.html#171736473">(Jul 25 2019 at 23:33)</a>:</h4>
<p>At least according to servo people.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>